3.453 \(\int \frac {(a+b \log (c (d+e \sqrt [3]{x})^n))^2}{x} \, dx\)

Optimal. Leaf size=93 \[ 6 b n \text {Li}_2\left (\frac {\sqrt [3]{x} e}{d}+1\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )+3 \log \left (-\frac {e \sqrt [3]{x}}{d}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2-6 b^2 n^2 \text {Li}_3\left (\frac {\sqrt [3]{x} e}{d}+1\right ) \]

[Out]

3*(a+b*ln(c*(d+e*x^(1/3))^n))^2*ln(-e*x^(1/3)/d)+6*b*n*(a+b*ln(c*(d+e*x^(1/3))^n))*polylog(2,1+e*x^(1/3)/d)-6*
b^2*n^2*polylog(3,1+e*x^(1/3)/d)

________________________________________________________________________________________

Rubi [A]  time = 0.13, antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {2454, 2396, 2433, 2374, 6589} \[ 6 b n \text {PolyLog}\left (2,\frac {e \sqrt [3]{x}}{d}+1\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )-6 b^2 n^2 \text {PolyLog}\left (3,\frac {e \sqrt [3]{x}}{d}+1\right )+3 \log \left (-\frac {e \sqrt [3]{x}}{d}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*(d + e*x^(1/3))^n])^2/x,x]

[Out]

3*(a + b*Log[c*(d + e*x^(1/3))^n])^2*Log[-((e*x^(1/3))/d)] + 6*b*n*(a + b*Log[c*(d + e*x^(1/3))^n])*PolyLog[2,
 1 + (e*x^(1/3))/d] - 6*b^2*n^2*PolyLog[3, 1 + (e*x^(1/3))/d]

Rule 2374

Int[(Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))]*((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.))/(x_), x_Symbol] :> -Sim
p[(PolyLog[2, -(d*f*x^m)]*(a + b*Log[c*x^n])^p)/m, x] + Dist[(b*n*p)/m, Int[(PolyLog[2, -(d*f*x^m)]*(a + b*Log
[c*x^n])^(p - 1))/x, x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && IGtQ[p, 0] && EqQ[d*e, 1]

Rule 2396

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_)/((f_.) + (g_.)*(x_)), x_Symbol] :> Simp[(Log[(e*
(f + g*x))/(e*f - d*g)]*(a + b*Log[c*(d + e*x)^n])^p)/g, x] - Dist[(b*e*n*p)/g, Int[(Log[(e*(f + g*x))/(e*f -
d*g)]*(a + b*Log[c*(d + e*x)^n])^(p - 1))/(d + e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p}, x] && NeQ[e*
f - d*g, 0] && IGtQ[p, 1]

Rule 2433

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((f_.) + Log[(h_.)*((i_.) + (j_.)*(x_))^(m_.)]*
(g_.))*((k_.) + (l_.)*(x_))^(r_.), x_Symbol] :> Dist[1/e, Subst[Int[((k*x)/d)^r*(a + b*Log[c*x^n])^p*(f + g*Lo
g[h*((e*i - d*j)/e + (j*x)/e)^m]), x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, f, g, h, i, j, k, l, n, p, r},
 x] && EqQ[e*k - d*l, 0]

Rule 2454

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.), x_Symbol] :> Dist[1/n, Subst[I
nt[x^(Simplify[(m + 1)/n] - 1)*(a + b*Log[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p,
 q}, x] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0]) &&  !(EqQ[q, 1] && ILtQ[n, 0] &&
 IGtQ[m, 0])

Rule 6589

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rubi steps

\begin {align*} \int \frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x} \, dx &=3 \operatorname {Subst}\left (\int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^2}{x} \, dx,x,\sqrt [3]{x}\right )\\ &=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac {e \sqrt [3]{x}}{d}\right )-(6 b e n) \operatorname {Subst}\left (\int \frac {\log \left (-\frac {e x}{d}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )}{d+e x} \, dx,x,\sqrt [3]{x}\right )\\ &=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac {e \sqrt [3]{x}}{d}\right )-(6 b n) \operatorname {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (-\frac {e \left (-\frac {d}{e}+\frac {x}{e}\right )}{d}\right )}{x} \, dx,x,d+e \sqrt [3]{x}\right )\\ &=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac {e \sqrt [3]{x}}{d}\right )+6 b n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \text {Li}_2\left (1+\frac {e \sqrt [3]{x}}{d}\right )-\left (6 b^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2\left (\frac {x}{d}\right )}{x} \, dx,x,d+e \sqrt [3]{x}\right )\\ &=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac {e \sqrt [3]{x}}{d}\right )+6 b n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \text {Li}_2\left (1+\frac {e \sqrt [3]{x}}{d}\right )-6 b^2 n^2 \text {Li}_3\left (1+\frac {e \sqrt [3]{x}}{d}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [B]  time = 0.11, size = 195, normalized size = 2.10 \[ 2 b n \left (\log (x) \left (\log \left (d+e \sqrt [3]{x}\right )-\log \left (\frac {e \sqrt [3]{x}}{d}+1\right )\right )-3 \text {Li}_2\left (-\frac {e \sqrt [3]{x}}{d}\right )\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )-b n \log \left (d+e \sqrt [3]{x}\right )\right )+\log (x) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )-b n \log \left (d+e \sqrt [3]{x}\right )\right )^2+3 b^2 n^2 \left (-2 \text {Li}_3\left (\frac {\sqrt [3]{x} e}{d}+1\right )+2 \text {Li}_2\left (\frac {\sqrt [3]{x} e}{d}+1\right ) \log \left (d+e \sqrt [3]{x}\right )+\log \left (-\frac {e \sqrt [3]{x}}{d}\right ) \log ^2\left (d+e \sqrt [3]{x}\right )\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*(d + e*x^(1/3))^n])^2/x,x]

[Out]

(a - b*n*Log[d + e*x^(1/3)] + b*Log[c*(d + e*x^(1/3))^n])^2*Log[x] + 2*b*n*(a - b*n*Log[d + e*x^(1/3)] + b*Log
[c*(d + e*x^(1/3))^n])*((Log[d + e*x^(1/3)] - Log[1 + (e*x^(1/3))/d])*Log[x] - 3*PolyLog[2, -((e*x^(1/3))/d)])
 + 3*b^2*n^2*(Log[d + e*x^(1/3)]^2*Log[-((e*x^(1/3))/d)] + 2*Log[d + e*x^(1/3)]*PolyLog[2, 1 + (e*x^(1/3))/d]
- 2*PolyLog[3, 1 + (e*x^(1/3))/d])

________________________________________________________________________________________

fricas [F]  time = 0.42, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {b^{2} \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n} c\right )^{2} + 2 \, a b \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n} c\right ) + a^{2}}{x}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e*x^(1/3))^n))^2/x,x, algorithm="fricas")

[Out]

integral((b^2*log((e*x^(1/3) + d)^n*c)^2 + 2*a*b*log((e*x^(1/3) + d)^n*c) + a^2)/x, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n} c\right ) + a\right )}^{2}}{x}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e*x^(1/3))^n))^2/x,x, algorithm="giac")

[Out]

integrate((b*log((e*x^(1/3) + d)^n*c) + a)^2/x, x)

________________________________________________________________________________________

maple [F]  time = 0.12, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \ln \left (c \left (e \,x^{\frac {1}{3}}+d \right )^{n}\right )+a \right )^{2}}{x}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*ln(c*(e*x^(1/3)+d)^n)+a)^2/x,x)

[Out]

int((b*ln(c*(e*x^(1/3)+d)^n)+a)^2/x,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ b^{2} \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n}\right )^{2} \log \relax (x) + \int \frac {3 \, {\left (b^{2} e \log \relax (c)^{2} + 2 \, a b e \log \relax (c) + a^{2} e\right )} x - 2 \, {\left (b^{2} e n x \log \relax (x) - 3 \, {\left (b^{2} e \log \relax (c) + a b e\right )} x - 3 \, {\left (b^{2} d \log \relax (c) + a b d\right )} x^{\frac {2}{3}}\right )} \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n}\right ) + 3 \, {\left (b^{2} d \log \relax (c)^{2} + 2 \, a b d \log \relax (c) + a^{2} d\right )} x^{\frac {2}{3}}}{3 \, {\left (e x^{2} + d x^{\frac {5}{3}}\right )}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e*x^(1/3))^n))^2/x,x, algorithm="maxima")

[Out]

b^2*log((e*x^(1/3) + d)^n)^2*log(x) + integrate(1/3*(3*(b^2*e*log(c)^2 + 2*a*b*e*log(c) + a^2*e)*x - 2*(b^2*e*
n*x*log(x) - 3*(b^2*e*log(c) + a*b*e)*x - 3*(b^2*d*log(c) + a*b*d)*x^(2/3))*log((e*x^(1/3) + d)^n) + 3*(b^2*d*
log(c)^2 + 2*a*b*d*log(c) + a^2*d)*x^(2/3))/(e*x^2 + d*x^(5/3)), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (a+b\,\ln \left (c\,{\left (d+e\,x^{1/3}\right )}^n\right )\right )}^2}{x} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*log(c*(d + e*x^(1/3))^n))^2/x,x)

[Out]

int((a + b*log(c*(d + e*x^(1/3))^n))^2/x, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (a + b \log {\left (c \left (d + e \sqrt [3]{x}\right )^{n} \right )}\right )^{2}}{x}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*(d+e*x**(1/3))**n))**2/x,x)

[Out]

Integral((a + b*log(c*(d + e*x**(1/3))**n))**2/x, x)

________________________________________________________________________________________